package com.arong.swing.db.entity;

import java.io.Serializable;
import java.sql.Timestamp;

import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;

public class CrCarRecord implements Serializable{ 

	/**
	 * 
	 */
	private static final long serialVersionUID = -6119692345624350432L;

	private String id;

	private String checkeventId;

	private String cp;
	private String hpzl;
	
	private byte[] zp;

	private String clsbdm;

	private String fdjh;

	private String clys;

	private String czsfhm;

	private String czxm;

	private String province;
	
	private String allgenerateId;
	private String allpackageVer;
	

	private String city;

	private String county;

	private Timestamp pcsj;

	private String sjly;

	private Timestamp createTime;

	public String getHpzl() {
		return hpzl;
	}

	public void setHpzl(String hpzl) {
		this.hpzl = hpzl;
	}

	public void setId(String id) {
		this.id = id;
	}
	
	public String getId() {
		return id;
	}

	public byte[] getZp() {
		return zp;
	}

	public void setZp(byte[] zp) {
		this.zp = zp;
	}

	public void setCheckeventId(String checkeventId) {
		this.checkeventId = checkeventId;
	}
	
	public String getCheckeventId() {
		return checkeventId;
	}

	public String getAllgenerateId() {
		return allgenerateId;
	}

	public void setAllgenerateId(String allgenerateId) {
		this.allgenerateId = allgenerateId;
	}

	public String getAllpackageVer() {
		return allpackageVer;
	}

	public void setAllpackageVer(String allpackageVer) {
		this.allpackageVer = allpackageVer;
	}

	public void setCp(String cp) {
		this.cp = cp;
	}
	
	public String getCp() {
		return cp;
	}

	public void setClsbdm(String clsbdm) {
		this.clsbdm = clsbdm;
	}
	
	public String getClsbdm() {
		return clsbdm;
	}

	public void setFdjh(String fdjh) {
		this.fdjh = fdjh;
	}
	
	public String getFdjh() {
		return fdjh;
	}

	public void setClys(String clys) {
		this.clys = clys;
	}
	
	public String getClys() {
		return clys;
	}

	public void setCzsfhm(String czsfhm) {
		this.czsfhm = czsfhm;
	}
	
	public String getCzsfhm() {
		return czsfhm;
	}

	public void setCzxm(String czxm) {
		this.czxm = czxm;
	}
	
	public String getCzxm() {
		return czxm;
	}

	public void setProvince(String province) {
		this.province = province;
	}
	
	public String getProvince() {
		return province;
	}

	public void setCity(String city) {
		this.city = city;
	}
	
	public String getCity() {
		return city;
	}

	public void setCounty(String county) {
		this.county = county;
	}
	
	public String getCounty() {
		return county;
	}

	public void setPcsj(Timestamp pcsj) {
		this.pcsj = pcsj;
	}
	
	public Timestamp getPcsj() {
		return pcsj;
	}

	public void setSjly(String sjly) {
		this.sjly = sjly;
	}
	
	public String getSjly() {
		return sjly;
	}

	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}
	
	public Timestamp getCreateTime() {
		return createTime;
	}

	public boolean equals(Object obj) {
		boolean equals = false;
		if (obj != null && obj instanceof CrCarRecord) {
			CrCarRecord another = (CrCarRecord) obj;
			equals = new EqualsBuilder()
					.append(id, another.getId())
					.isEquals();
		}
		return equals;
	}
	
	public int hashCode() {
		return new HashCodeBuilder(17, 37)
				.append(id)
				.toHashCode();
	}
	
	public String toString() {
		return new ToStringBuilder(this)
				.append("id", getId())
				.toString();
	}
}